<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>数据接口展示项目</title>
  <link rel="stylesheet" href="./lib/bootstrap.min.css">
  <link rel="stylesheet" href="./css/index.css">
</head>

<body>

  <!-- 登录界面 -->
  <div class="main-box">
    <div>

      <div class="card">
        <div class="list-group list-group-flush">

          <div class="list-group-item text-bg-success fs-6 switch-box">
            <span>用户登录</span>
            <span>邮箱登录</span>
          </div>

          <div class="list-group-item">

            <div class="mb-3 mt-3">
              <input type="text" class="form-control" id="txt_username" placeholder="请输入用户名">
            </div>

            <div class="mb-3 mt-3">
              <input type="password" class="form-control" id="txt_password" placeholder="请输入密码">
            </div>

            <div class="mb-3 mt-3">
              <button id="btnReset" class="btn btn-danger btn-sm">重填</button>
              <button id="btnLogin" class="btn btn-primary btn-sm">登录</button>
              <button id="btnReg" class="btn btn-link">注册</button>
              <a class="btn btn-link" href="finpwd.html">找回密码</a>
            </div>

          </div>

          <div class="list-group-item">
            <div class="me-3 mt-3">
              <input type="text" class="form-control" id="txt_email" placeholder="请输入邮箱">
            </div>

            <div class="me-3 mt-3 d-flex">
              <div>
                <input type="text" class="form-control" id="txt_code" placeholder="请输入邮箱验证码">
              </div>
              <button class="btn btn-link" id="btnSendEmail">获取验证码</button>
            </div>

            <div class="mb-3 mt-3">
              <button id="btnEReset" class="btn btn-danger btn-sm">重填</button>
              <button id="btnELogin" class="btn btn-primary btn-sm">登录</button>
              <button id="btnEReg" class="btn btn-link">注册</button>
              <a class="btn btn-link" href="finpwd.html">找回密码</a>
            </div>


          </div>





        </div>
      </div>

    </div>
  </div>



  <!-- 信息弹出层 -->
  <div class="toast-container position-fixed bottom-0 end-0 p-3">

    <div id="divToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">

      <div class="toast-header">
        <strong class="me-auto">服务器消息</strong>
        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
      </div>

      <div class="toast-body">
        Hello, world! This is a toast message.
      </div>

    </div>

  </div>

  <!-- js导入的部分 -->
  <script src="./lib/bootstrap.bundle.min.js"></script>

  <script type="module" src="./js/index.js"></script>
</body>

</html>